Skip to content

Add real Git CLI e2e coverage#237

Open
adamziel wants to merge 1 commit intotrunkfrom
adamziel/git-cli-e2e
Open

Add real Git CLI e2e coverage#237
adamziel wants to merge 1 commit intotrunkfrom
adamziel/git-cli-e2e

Conversation

@adamziel
Copy link
Copy Markdown
Collaborator

Summary

  • fix root commits so they do not serialize a null parent line
  • add a real Git CLI end-to-end PHPUnit test against GitEndpoint
  • add a Docker helper to run the CLI e2e path in the sandbox

Verification

  • vendor/bin/phpunit components/Git/Tests/
  • vendor/bin/phpcs -d memory_limit=1G components/Git/class-gitrepository.php components/Git/Tests/GitRepositoryTest.php components/Git/Tests/GitCliEndToEndTest.php components/Git/Tests/fixtures/git-http-endpoint-router.php bin/test-git-cli-e2e.sh
  • ./bin/test-git-cli-e2e.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant